package com.exfantasycode.mclib.Utils.Dash;



import com.yakumosakura.yakumoblade.Yakumoblade;
import net.minecraft.client.Minecraft;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.player.Player;
import net.minecraftforge.network.PacketDistributor;

import static com.exfantasycode.mclib.Utils.Dash.DashMessage.vmove;


public class ClientPacketHandler {
    public static void handledash(DashMessage msg){

        LivingEntity entity = Minecraft.getInstance().player;
        vmove(entity, msg.dy, msg.dashDistance);
    }

}
